#pragma once
#include "../domain/Map.h"
#include <SDL.h>
#include "GraphDrawer.h"
#include "PathDrawer.h"
#include "Viewport.h"
#include "CarManager.h"
#include "../business/GraphManager.h"
#include "../domain/List.h"
#include "../business/PathManager.h"

//#include "unistd.h"

class MainThread
{
public:
	MainThread(void);
	virtual ~MainThread(void);
	void run(Map* map, List* vertexListPath, string idEdgeFrom,int addFrom, string idEdgeTo, int addTo, List* objects, int option);
	bool reachedVertex(CarManager* manager, GraphDrawer* drawer);
};
